﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core
{
    /// <summary>
    /// Specify how Database handle the property.
    /// </summary>
    public enum DatabaseCacheOptions
    {
        /// <summary>
        /// Not cachable in database. (default)
        /// </summary>
        NotCachable,

        /// <summary>
        /// The property is cached as a property in ORM.
        /// </summary>
        CachableORM,

        /// <summary>
        /// The property is cached using DatabaseEntry.AdditionalProperties.
        /// </summary>
        CachablePropertyPairs

    }
}
